{
 "cells": [
  {
   "cell_type": "code",
   "execution_count": 8,
   "metadata": {},
   "outputs": [],
   "source": [
    "from pytorch_pretrained_bert.tokenization import BertTokenizer\n",
    "tokenizer = BertTokenizer.from_pretrained(\"bert-base-chinese\", do_lower_case=True)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 11,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/plain": [
       "['[MASK]',\n",
       " '[MASK]',\n",
       " 'more',\n",
       " 'happy',\n",
       " '搂',\n",
       " '哼',\n",
       " '哧',\n",
       " '吭',\n",
       " '导',\n",
       " '读',\n",
       " '：',\n",
       " '联',\n",
       " '发',\n",
       " '科',\n",
       " '在',\n",
       " '7',\n",
       " '月',\n",
       " '31',\n",
       " '日',\n",
       " '的',\n",
       " '法',\n",
       " '说',\n",
       " '会',\n",
       " '上',\n",
       " '给',\n",
       " '出',\n",
       " '了',\n",
       " '比',\n",
       " '欧',\n",
       " '系',\n",
       " '外',\n",
       " '资',\n",
       " '机',\n",
       " '构',\n",
       " '预',\n",
       " '估',\n",
       " '的',\n",
       " '业',\n",
       " '绩',\n",
       " '更',\n",
       " '差',\n",
       " '，',\n",
       " '预',\n",
       " '估',\n",
       " '第',\n",
       " '三',\n",
       " '季',\n",
       " '毛',\n",
       " '利',\n",
       " '率',\n",
       " '约',\n",
       " '介',\n",
       " '于',\n",
       " '42',\n",
       " '.',\n",
       " '5',\n",
       " '%',\n",
       " '~',\n",
       " '45',\n",
       " '.',\n",
       " '5',\n",
       " '%',\n",
       " '之',\n",
       " '间',\n",
       " '，',\n",
       " '较',\n",
       " '第',\n",
       " '二',\n",
       " '季',\n",
       " '的',\n",
       " '45',\n",
       " '.',\n",
       " '9',\n",
       " '%',\n",
       " '进',\n",
       " '一',\n",
       " '步',\n",
       " '下',\n",
       " '滑',\n",
       " '，',\n",
       " '全',\n",
       " '年',\n",
       " '营',\n",
       " '收',\n",
       " '从',\n",
       " '成',\n",
       " '长',\n",
       " '10',\n",
       " '%',\n",
       " '转',\n",
       " '为',\n",
       " '衰',\n",
       " '退',\n",
       " '5',\n",
       " '~',\n",
       " '10',\n",
       " '%',\n",
       " '.',\n",
       " '.',\n",
       " '.']"
      ]
     },
     "execution_count": 11,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "text=\"[MASK] [MASK] more happy 搂哼哧吭导读：联发科在7月31日的法说会上给出了比欧系外资机构预估的业绩更差，预估第三季毛利率约介于42.5%~45.5%之间，较第二季的45.9%进一步下滑，全年营收从成长10%转为衰退5~10%...\"\n",
    "#text='\\t'.join(text)\n",
    "tokenizer.tokenize(text)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 12,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[1, 2, 3, 4]\n"
     ]
    }
   ],
   "source": [
    "wlist=[1,2,3,4]\n",
    "for w in wlist:\n",
    "    w=0\n",
    "print(wlist)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 80,
   "metadata": {},
   "outputs": [],
   "source": [
    "import pandas as pd\n",
    "import json\n",
    "raw=pd.read_csv(\"../data/result/old.csv\")"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 88,
   "metadata": {
    "scrolled": true
   },
   "outputs": [],
   "source": [
    "raw.loc[:,'news_res']=0\n",
    "raw.loc[:,'story_res']=0\n",
    "raw.loc[:,'chat_res']=0"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 89,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Character</th>\n",
       "      <th>Train set</th>\n",
       "      <th>news</th>\n",
       "      <th>story</th>\n",
       "      <th>chitchat</th>\n",
       "      <th>news_res</th>\n",
       "      <th>story_res</th>\n",
       "      <th>chat_res</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>一</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96.94000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>97.9800</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>不</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>98.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>与</td>\n",
       "      <td>2940.0</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>丧</td>\n",
       "      <td>335.0</td>\n",
       "      <td>73.00000</td>\n",
       "      <td>80.00000</td>\n",
       "      <td>80.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>中</td>\n",
       "      <td>4832.0</td>\n",
       "      <td>99.49000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>95.2800</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>为</td>\n",
       "      <td>29028.0</td>\n",
       "      <td>92.50000</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>93.3200</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>乐</td>\n",
       "      <td>2003.0</td>\n",
       "      <td>96.48000</td>\n",
       "      <td>90.54000</td>\n",
       "      <td>88.2400</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>乘</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>什</td>\n",
       "      <td>447.0</td>\n",
       "      <td>95.95000</td>\n",
       "      <td>93.10000</td>\n",
       "      <td>48.3900</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>仔</td>\n",
       "      <td>NaN</td>\n",
       "      <td>68.69000</td>\n",
       "      <td>54.55000</td>\n",
       "      <td>56.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>传</td>\n",
       "      <td>6706.0</td>\n",
       "      <td>99.30000</td>\n",
       "      <td>98.99000</td>\n",
       "      <td>95.6200</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>伯</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>作</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>91.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>供</td>\n",
       "      <td>931.0</td>\n",
       "      <td>86.87000</td>\n",
       "      <td>79.80000</td>\n",
       "      <td>83.8400</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>侯</td>\n",
       "      <td>1137.0</td>\n",
       "      <td>92.94000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>88.1600</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>俩</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>倒</td>\n",
       "      <td>2361.0</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>82.83000</td>\n",
       "      <td>55.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>假</td>\n",
       "      <td>1324.0</td>\n",
       "      <td>94.95000</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>94.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>兴</td>\n",
       "      <td>366.0</td>\n",
       "      <td>95.51000</td>\n",
       "      <td>89.06000</td>\n",
       "      <td>98.2100</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>冠</td>\n",
       "      <td>455.0</td>\n",
       "      <td>53.13000</td>\n",
       "      <td>79.75000</td>\n",
       "      <td>53.8500</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>冲</td>\n",
       "      <td>NaN</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>87.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>凉</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>93.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>几</td>\n",
       "      <td>NaN</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>凿</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>分</td>\n",
       "      <td>2948.0</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>98.9800</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>切</td>\n",
       "      <td>546.0</td>\n",
       "      <td>65.91000</td>\n",
       "      <td>72.29000</td>\n",
       "      <td>78.5700</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>划</td>\n",
       "      <td>844.0</td>\n",
       "      <td>73.74000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>82.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>别</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>削</td>\n",
       "      <td>531.0</td>\n",
       "      <td>81.00000</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>81.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>剥</td>\n",
       "      <td>374.0</td>\n",
       "      <td>91.00000</td>\n",
       "      <td>54.00000</td>\n",
       "      <td>88.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>171</th>\n",
       "      <td>薄</td>\n",
       "      <td>395.0</td>\n",
       "      <td>90.72000</td>\n",
       "      <td>75.86000</td>\n",
       "      <td>79.8000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>172</th>\n",
       "      <td>藏</td>\n",
       "      <td>1483.0</td>\n",
       "      <td>90.41000</td>\n",
       "      <td>98.11000</td>\n",
       "      <td>89.8000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>173</th>\n",
       "      <td>血</td>\n",
       "      <td>1885.0</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>174</th>\n",
       "      <td>行</td>\n",
       "      <td>3735.0</td>\n",
       "      <td>92.42000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>175</th>\n",
       "      <td>观</td>\n",
       "      <td>748.0</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>84.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>176</th>\n",
       "      <td>觉</td>\n",
       "      <td>4185.0</td>\n",
       "      <td>97.55000</td>\n",
       "      <td>95.65000</td>\n",
       "      <td>97.6200</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>177</th>\n",
       "      <td>角</td>\n",
       "      <td>1151.0</td>\n",
       "      <td>89.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>90.9100</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>178</th>\n",
       "      <td>解</td>\n",
       "      <td>1104.0</td>\n",
       "      <td>93.00000</td>\n",
       "      <td>91.75000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>179</th>\n",
       "      <td>调</td>\n",
       "      <td>1604.0</td>\n",
       "      <td>52.00000</td>\n",
       "      <td>85.00000</td>\n",
       "      <td>52.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>180</th>\n",
       "      <td>趟</td>\n",
       "      <td>NaN</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>181</th>\n",
       "      <td>蹬</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95.92000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>182</th>\n",
       "      <td>转</td>\n",
       "      <td>2386.0</td>\n",
       "      <td>90.91000</td>\n",
       "      <td>74.49000</td>\n",
       "      <td>89.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>183</th>\n",
       "      <td>载</td>\n",
       "      <td>628.0</td>\n",
       "      <td>71.00000</td>\n",
       "      <td>85.71000</td>\n",
       "      <td>66.6700</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>184</th>\n",
       "      <td>还</td>\n",
       "      <td>NaN</td>\n",
       "      <td>97.00000</td>\n",
       "      <td>97.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>185</th>\n",
       "      <td>通</td>\n",
       "      <td>1681.0</td>\n",
       "      <td>98.98000</td>\n",
       "      <td>80.43000</td>\n",
       "      <td>98.9900</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>186</th>\n",
       "      <td>都</td>\n",
       "      <td>2955.0</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>187</th>\n",
       "      <td>重</td>\n",
       "      <td>6494.0</td>\n",
       "      <td>97.15000</td>\n",
       "      <td>85.86000</td>\n",
       "      <td>95.0700</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>188</th>\n",
       "      <td>量</td>\n",
       "      <td>852.0</td>\n",
       "      <td>96.97000</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>81.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>189</th>\n",
       "      <td>钉</td>\n",
       "      <td>399.0</td>\n",
       "      <td>71.00000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>68.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>190</th>\n",
       "      <td>钻</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>58.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>191</th>\n",
       "      <td>铺</td>\n",
       "      <td>1498.0</td>\n",
       "      <td>88.24000</td>\n",
       "      <td>92.82000</td>\n",
       "      <td>65.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>192</th>\n",
       "      <td>长</td>\n",
       "      <td>300962.0</td>\n",
       "      <td>95.91000</td>\n",
       "      <td>96.91000</td>\n",
       "      <td>96.3100</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>193</th>\n",
       "      <td>间</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95.96000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>92.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>194</th>\n",
       "      <td>陆</td>\n",
       "      <td>949.0</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>195</th>\n",
       "      <td>降</td>\n",
       "      <td>712.0</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>83.5100</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>196</th>\n",
       "      <td>难</td>\n",
       "      <td>2214.0</td>\n",
       "      <td>99.50000</td>\n",
       "      <td>96.88000</td>\n",
       "      <td>98.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>197</th>\n",
       "      <td>雀</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>198</th>\n",
       "      <td>露</td>\n",
       "      <td>1074.0</td>\n",
       "      <td>95.65000</td>\n",
       "      <td>97.53000</td>\n",
       "      <td>97.8500</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>199</th>\n",
       "      <td>颤</td>\n",
       "      <td>NaN</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>91.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>200</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>88.67795</td>\n",
       "      <td>89.42865</td>\n",
       "      <td>84.2615</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "      <td>0</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>201 rows × 8 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Character  Train set       news      story  chitchat  news_res  story_res  \\\n",
       "0           一        NaN   96.94000   98.00000   97.9800         0          0   \n",
       "1           不        NaN  100.00000   99.00000   98.0000         0          0   \n",
       "2           与     2940.0  100.00000  100.00000  100.0000         0          0   \n",
       "3           丧      335.0   73.00000   80.00000   80.0000         0          0   \n",
       "4           中     4832.0   99.49000   99.00000   95.2800         0          0   \n",
       "5           为    29028.0   92.50000   95.00000   93.3200         0          0   \n",
       "6           乐     2003.0   96.48000   90.54000   88.2400         0          0   \n",
       "7           乘        NaN  100.00000   95.00000  100.0000         0          0   \n",
       "8           什      447.0   95.95000   93.10000   48.3900         0          0   \n",
       "9           仔        NaN   68.69000   54.55000   56.0000         0          0   \n",
       "10          传     6706.0   99.30000   98.99000   95.6200         0          0   \n",
       "11          伯        NaN  100.00000  100.00000  100.0000         0          0   \n",
       "12          作        NaN  100.00000  100.00000   91.0000         0          0   \n",
       "13          供      931.0   86.87000   79.80000   83.8400         0          0   \n",
       "14          侯     1137.0   92.94000  100.00000   88.1600         0          0   \n",
       "15          俩        NaN  100.00000   99.00000  100.0000         0          0   \n",
       "16          倒     2361.0   78.00000   82.83000   55.0000         0          0   \n",
       "17          假     1324.0   94.95000   96.00000   94.0000         0          0   \n",
       "18          兴      366.0   95.51000   89.06000   98.2100         0          0   \n",
       "19          冠      455.0   53.13000   79.75000   53.8500         0          0   \n",
       "20          冲        NaN   99.00000   92.00000   87.0000         0          0   \n",
       "21          凉        NaN   96.00000   98.00000   93.0000         0          0   \n",
       "22          几        NaN   98.00000   98.00000   97.0000         0          0   \n",
       "23          凿        NaN  100.00000  100.00000  100.0000         0          0   \n",
       "24          分     2948.0   99.00000   99.00000   98.9800         0          0   \n",
       "25          切      546.0   65.91000   72.29000   78.5700         0          0   \n",
       "26          划      844.0   73.74000   92.00000   82.0000         0          0   \n",
       "27          别        NaN  100.00000  100.00000   99.0000         0          0   \n",
       "28          削      531.0   81.00000   78.00000   81.0000         0          0   \n",
       "29          剥      374.0   91.00000   54.00000   88.0000         0          0   \n",
       "..        ...        ...        ...        ...       ...       ...        ...   \n",
       "171         薄      395.0   90.72000   75.86000   79.8000         0          0   \n",
       "172         藏     1483.0   90.41000   98.11000   89.8000         0          0   \n",
       "173         血     1885.0   90.00000   94.00000   96.0000         0          0   \n",
       "174         行     3735.0   92.42000   94.00000   96.0000         0          0   \n",
       "175         观      748.0   96.00000   84.00000   99.0000         0          0   \n",
       "176         觉     4185.0   97.55000   95.65000   97.6200         0          0   \n",
       "177         角     1151.0   89.00000  100.00000   90.9100         0          0   \n",
       "178         解     1104.0   93.00000   91.75000  100.0000         0          0   \n",
       "179         调     1604.0   52.00000   85.00000   52.0000         0          0   \n",
       "180         趟        NaN   94.00000   94.00000   97.0000         0          0   \n",
       "181         蹬        NaN   95.92000   99.00000   97.0000         0          0   \n",
       "182         转     2386.0   90.91000   74.49000   89.0000         0          0   \n",
       "183         载      628.0   71.00000   85.71000   66.6700         0          0   \n",
       "184         还        NaN   97.00000   97.00000   99.0000         0          0   \n",
       "185         通     1681.0   98.98000   80.43000   98.9900         0          0   \n",
       "186         都     2955.0   95.00000   98.00000  100.0000         0          0   \n",
       "187         重     6494.0   97.15000   85.86000   95.0700         0          0   \n",
       "188         量      852.0   96.97000   78.00000   81.0000         0          0   \n",
       "189         钉      399.0   71.00000   92.00000   68.0000         0          0   \n",
       "190         钻        NaN   57.00000   99.00000   58.0000         0          0   \n",
       "191         铺     1498.0   88.24000   92.82000   65.0000         0          0   \n",
       "192         长   300962.0   95.91000   96.91000   96.3100         0          0   \n",
       "193         间        NaN   95.96000  100.00000   92.0000         0          0   \n",
       "194         陆      949.0  100.00000  100.00000  100.0000         0          0   \n",
       "195         降      712.0   90.00000   90.00000   83.5100         0          0   \n",
       "196         难     2214.0   99.50000   96.88000   98.0000         0          0   \n",
       "197         雀        NaN  100.00000  100.00000   99.0000         0          0   \n",
       "198         露     1074.0   95.65000   97.53000   97.8500         0          0   \n",
       "199         颤        NaN   98.00000   91.00000   96.0000         0          0   \n",
       "200       NaN        NaN   88.67795   89.42865   84.2615         0          0   \n",
       "\n",
       "     chat_res  \n",
       "0           0  \n",
       "1           0  \n",
       "2           0  \n",
       "3           0  \n",
       "4           0  \n",
       "5           0  \n",
       "6           0  \n",
       "7           0  \n",
       "8           0  \n",
       "9           0  \n",
       "10          0  \n",
       "11          0  \n",
       "12          0  \n",
       "13          0  \n",
       "14          0  \n",
       "15          0  \n",
       "16          0  \n",
       "17          0  \n",
       "18          0  \n",
       "19          0  \n",
       "20          0  \n",
       "21          0  \n",
       "22          0  \n",
       "23          0  \n",
       "24          0  \n",
       "25          0  \n",
       "26          0  \n",
       "27          0  \n",
       "28          0  \n",
       "29          0  \n",
       "..        ...  \n",
       "171         0  \n",
       "172         0  \n",
       "173         0  \n",
       "174         0  \n",
       "175         0  \n",
       "176         0  \n",
       "177         0  \n",
       "178         0  \n",
       "179         0  \n",
       "180         0  \n",
       "181         0  \n",
       "182         0  \n",
       "183         0  \n",
       "184         0  \n",
       "185         0  \n",
       "186         0  \n",
       "187         0  \n",
       "188         0  \n",
       "189         0  \n",
       "190         0  \n",
       "191         0  \n",
       "192         0  \n",
       "193         0  \n",
       "194         0  \n",
       "195         0  \n",
       "196         0  \n",
       "197         0  \n",
       "198         0  \n",
       "199         0  \n",
       "200         0  \n",
       "\n",
       "[201 rows x 8 columns]"
      ]
     },
     "execution_count": 89,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "raw"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 90,
   "metadata": {},
   "outputs": [],
   "source": [
    "res_path=\"D:\\\\hasu\\\\nomask\"\n",
    "with open(res_path+\"/story.json\",encoding='utf8') as f:\n",
    "    story=json.loads(f.read())\n",
    "with open(res_path+\"/news.json\",encoding='utf8') as f:\n",
    "    news=json.loads(f.read())\n",
    "with open(res_path+\"/chat.json\",encoding='utf8') as f:\n",
    "    chat=json.loads(f.read())\n",
    "    \n",
    "for i in range(len(raw)-1):\n",
    "    char=raw.loc[i,'Character'].strip()\n",
    "    raw.loc[i,'news_res']=news[char]*100\n",
    "    raw.loc[i,'story_res']=story[char]*100\n",
    "    raw.loc[i,'chat_res']=chat[char]*100"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 84,
   "metadata": {},
   "outputs": [],
   "source": [
    "res_path=\"D:\\\\hasu\\\\result-30M\"\n",
    "with open(res_path+\"/story.json\",encoding='utf8') as f:\n",
    "    story=json.loads(f.read())\n",
    "    \n",
    "for i in range(len(raw)-1):\n",
    "    char=raw.loc[i,'Character'].strip()\n",
    "    raw.loc[i,'story_res']=story[char]*100"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 91,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "data": {
      "text/html": [
       "<div>\n",
       "<style scoped>\n",
       "    .dataframe tbody tr th:only-of-type {\n",
       "        vertical-align: middle;\n",
       "    }\n",
       "\n",
       "    .dataframe tbody tr th {\n",
       "        vertical-align: top;\n",
       "    }\n",
       "\n",
       "    .dataframe thead th {\n",
       "        text-align: right;\n",
       "    }\n",
       "</style>\n",
       "<table border=\"1\" class=\"dataframe\">\n",
       "  <thead>\n",
       "    <tr style=\"text-align: right;\">\n",
       "      <th></th>\n",
       "      <th>Character</th>\n",
       "      <th>Train set</th>\n",
       "      <th>news</th>\n",
       "      <th>story</th>\n",
       "      <th>chitchat</th>\n",
       "      <th>news_res</th>\n",
       "      <th>story_res</th>\n",
       "      <th>chat_res</th>\n",
       "    </tr>\n",
       "  </thead>\n",
       "  <tbody>\n",
       "    <tr>\n",
       "      <th>0</th>\n",
       "      <td>一</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96.94000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>97.9800</td>\n",
       "      <td>90.909091</td>\n",
       "      <td>85.000000</td>\n",
       "      <td>91.919192</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>1</th>\n",
       "      <td>不</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>98.0000</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>94.000000</td>\n",
       "      <td>98.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>2</th>\n",
       "      <td>与</td>\n",
       "      <td>2940.0</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>3</th>\n",
       "      <td>丧</td>\n",
       "      <td>335.0</td>\n",
       "      <td>73.00000</td>\n",
       "      <td>80.00000</td>\n",
       "      <td>80.0000</td>\n",
       "      <td>68.000000</td>\n",
       "      <td>84.000000</td>\n",
       "      <td>77.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>4</th>\n",
       "      <td>中</td>\n",
       "      <td>4832.0</td>\n",
       "      <td>99.49000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>95.2800</td>\n",
       "      <td>99.333333</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>97.166667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>5</th>\n",
       "      <td>为</td>\n",
       "      <td>29028.0</td>\n",
       "      <td>92.50000</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>93.3200</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>96.000000</td>\n",
       "      <td>97.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>6</th>\n",
       "      <td>乐</td>\n",
       "      <td>2003.0</td>\n",
       "      <td>96.48000</td>\n",
       "      <td>90.54000</td>\n",
       "      <td>88.2400</td>\n",
       "      <td>97.989950</td>\n",
       "      <td>88.888889</td>\n",
       "      <td>92.929293</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>7</th>\n",
       "      <td>乘</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>95.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>8</th>\n",
       "      <td>什</td>\n",
       "      <td>447.0</td>\n",
       "      <td>95.95000</td>\n",
       "      <td>93.10000</td>\n",
       "      <td>48.3900</td>\n",
       "      <td>98.989899</td>\n",
       "      <td>96.969697</td>\n",
       "      <td>71.134021</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>9</th>\n",
       "      <td>仔</td>\n",
       "      <td>NaN</td>\n",
       "      <td>68.69000</td>\n",
       "      <td>54.55000</td>\n",
       "      <td>56.0000</td>\n",
       "      <td>96.969697</td>\n",
       "      <td>96.969697</td>\n",
       "      <td>93.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>10</th>\n",
       "      <td>传</td>\n",
       "      <td>6706.0</td>\n",
       "      <td>99.30000</td>\n",
       "      <td>98.99000</td>\n",
       "      <td>95.6200</td>\n",
       "      <td>97.996661</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>96.500000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>11</th>\n",
       "      <td>伯</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>12</th>\n",
       "      <td>作</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>91.0000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>89.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>13</th>\n",
       "      <td>供</td>\n",
       "      <td>931.0</td>\n",
       "      <td>86.87000</td>\n",
       "      <td>79.80000</td>\n",
       "      <td>83.8400</td>\n",
       "      <td>86.868687</td>\n",
       "      <td>61.000000</td>\n",
       "      <td>76.767677</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>14</th>\n",
       "      <td>侯</td>\n",
       "      <td>1137.0</td>\n",
       "      <td>92.94000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>88.1600</td>\n",
       "      <td>94.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>91.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>15</th>\n",
       "      <td>俩</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>75.000000</td>\n",
       "      <td>80.000000</td>\n",
       "      <td>97.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>16</th>\n",
       "      <td>倒</td>\n",
       "      <td>2361.0</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>82.83000</td>\n",
       "      <td>55.0000</td>\n",
       "      <td>74.000000</td>\n",
       "      <td>88.888889</td>\n",
       "      <td>61.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>17</th>\n",
       "      <td>假</td>\n",
       "      <td>1324.0</td>\n",
       "      <td>94.95000</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>94.0000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>98.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>18</th>\n",
       "      <td>兴</td>\n",
       "      <td>366.0</td>\n",
       "      <td>95.51000</td>\n",
       "      <td>89.06000</td>\n",
       "      <td>98.2100</td>\n",
       "      <td>98.989899</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>93.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>19</th>\n",
       "      <td>冠</td>\n",
       "      <td>455.0</td>\n",
       "      <td>53.13000</td>\n",
       "      <td>79.75000</td>\n",
       "      <td>53.8500</td>\n",
       "      <td>79.000000</td>\n",
       "      <td>67.000000</td>\n",
       "      <td>77.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>20</th>\n",
       "      <td>冲</td>\n",
       "      <td>NaN</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>87.0000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>89.000000</td>\n",
       "      <td>87.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>21</th>\n",
       "      <td>凉</td>\n",
       "      <td>NaN</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>93.0000</td>\n",
       "      <td>96.000000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>93.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>22</th>\n",
       "      <td>几</td>\n",
       "      <td>NaN</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>95.000000</td>\n",
       "      <td>98.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>23</th>\n",
       "      <td>凿</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>24</th>\n",
       "      <td>分</td>\n",
       "      <td>2948.0</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>98.9800</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>99.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>25</th>\n",
       "      <td>切</td>\n",
       "      <td>546.0</td>\n",
       "      <td>65.91000</td>\n",
       "      <td>72.29000</td>\n",
       "      <td>78.5700</td>\n",
       "      <td>85.000000</td>\n",
       "      <td>82.000000</td>\n",
       "      <td>77.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>26</th>\n",
       "      <td>划</td>\n",
       "      <td>844.0</td>\n",
       "      <td>73.74000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>82.0000</td>\n",
       "      <td>91.000000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>93.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>27</th>\n",
       "      <td>别</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>99.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>28</th>\n",
       "      <td>削</td>\n",
       "      <td>531.0</td>\n",
       "      <td>81.00000</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>81.0000</td>\n",
       "      <td>89.000000</td>\n",
       "      <td>94.000000</td>\n",
       "      <td>88.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>29</th>\n",
       "      <td>剥</td>\n",
       "      <td>374.0</td>\n",
       "      <td>91.00000</td>\n",
       "      <td>54.00000</td>\n",
       "      <td>88.0000</td>\n",
       "      <td>8.000000</td>\n",
       "      <td>50.000000</td>\n",
       "      <td>12.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>...</th>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "      <td>...</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>171</th>\n",
       "      <td>薄</td>\n",
       "      <td>395.0</td>\n",
       "      <td>90.72000</td>\n",
       "      <td>75.86000</td>\n",
       "      <td>79.8000</td>\n",
       "      <td>85.858586</td>\n",
       "      <td>90.000000</td>\n",
       "      <td>64.646465</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>172</th>\n",
       "      <td>藏</td>\n",
       "      <td>1483.0</td>\n",
       "      <td>90.41000</td>\n",
       "      <td>98.11000</td>\n",
       "      <td>89.8000</td>\n",
       "      <td>94.529915</td>\n",
       "      <td>99.312715</td>\n",
       "      <td>91.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>173</th>\n",
       "      <td>血</td>\n",
       "      <td>1885.0</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>79.500000</td>\n",
       "      <td>81.000000</td>\n",
       "      <td>78.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>174</th>\n",
       "      <td>行</td>\n",
       "      <td>3735.0</td>\n",
       "      <td>92.42000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>94.472362</td>\n",
       "      <td>94.000000</td>\n",
       "      <td>98.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>175</th>\n",
       "      <td>观</td>\n",
       "      <td>748.0</td>\n",
       "      <td>96.00000</td>\n",
       "      <td>84.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>96.000000</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>176</th>\n",
       "      <td>觉</td>\n",
       "      <td>4185.0</td>\n",
       "      <td>97.55000</td>\n",
       "      <td>95.65000</td>\n",
       "      <td>97.6200</td>\n",
       "      <td>98.833333</td>\n",
       "      <td>94.949495</td>\n",
       "      <td>98.138573</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>177</th>\n",
       "      <td>角</td>\n",
       "      <td>1151.0</td>\n",
       "      <td>89.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>90.9100</td>\n",
       "      <td>89.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>94.949495</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>178</th>\n",
       "      <td>解</td>\n",
       "      <td>1104.0</td>\n",
       "      <td>93.00000</td>\n",
       "      <td>91.75000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>93.000000</td>\n",
       "      <td>88.888889</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>179</th>\n",
       "      <td>调</td>\n",
       "      <td>1604.0</td>\n",
       "      <td>52.00000</td>\n",
       "      <td>85.00000</td>\n",
       "      <td>52.0000</td>\n",
       "      <td>80.000000</td>\n",
       "      <td>89.000000</td>\n",
       "      <td>84.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>180</th>\n",
       "      <td>趟</td>\n",
       "      <td>NaN</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>94.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>92.000000</td>\n",
       "      <td>90.000000</td>\n",
       "      <td>97.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>181</th>\n",
       "      <td>蹬</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95.92000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>97.0000</td>\n",
       "      <td>86.000000</td>\n",
       "      <td>96.000000</td>\n",
       "      <td>97.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>182</th>\n",
       "      <td>转</td>\n",
       "      <td>2386.0</td>\n",
       "      <td>90.91000</td>\n",
       "      <td>74.49000</td>\n",
       "      <td>89.0000</td>\n",
       "      <td>88.888889</td>\n",
       "      <td>54.081633</td>\n",
       "      <td>84.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>183</th>\n",
       "      <td>载</td>\n",
       "      <td>628.0</td>\n",
       "      <td>71.00000</td>\n",
       "      <td>85.71000</td>\n",
       "      <td>66.6700</td>\n",
       "      <td>91.000000</td>\n",
       "      <td>98.989899</td>\n",
       "      <td>62.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>184</th>\n",
       "      <td>还</td>\n",
       "      <td>NaN</td>\n",
       "      <td>97.00000</td>\n",
       "      <td>97.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>97.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>185</th>\n",
       "      <td>通</td>\n",
       "      <td>1681.0</td>\n",
       "      <td>98.98000</td>\n",
       "      <td>80.43000</td>\n",
       "      <td>98.9900</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>82.000000</td>\n",
       "      <td>99.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>186</th>\n",
       "      <td>都</td>\n",
       "      <td>2955.0</td>\n",
       "      <td>95.00000</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>187</th>\n",
       "      <td>重</td>\n",
       "      <td>6494.0</td>\n",
       "      <td>97.15000</td>\n",
       "      <td>85.86000</td>\n",
       "      <td>95.0700</td>\n",
       "      <td>97.166667</td>\n",
       "      <td>90.909091</td>\n",
       "      <td>97.674419</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>188</th>\n",
       "      <td>量</td>\n",
       "      <td>852.0</td>\n",
       "      <td>96.97000</td>\n",
       "      <td>78.00000</td>\n",
       "      <td>81.0000</td>\n",
       "      <td>95.959596</td>\n",
       "      <td>89.000000</td>\n",
       "      <td>81.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>189</th>\n",
       "      <td>钉</td>\n",
       "      <td>399.0</td>\n",
       "      <td>71.00000</td>\n",
       "      <td>92.00000</td>\n",
       "      <td>68.0000</td>\n",
       "      <td>82.000000</td>\n",
       "      <td>78.000000</td>\n",
       "      <td>82.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>190</th>\n",
       "      <td>钻</td>\n",
       "      <td>NaN</td>\n",
       "      <td>57.00000</td>\n",
       "      <td>99.00000</td>\n",
       "      <td>58.0000</td>\n",
       "      <td>64.000000</td>\n",
       "      <td>99.000000</td>\n",
       "      <td>57.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>191</th>\n",
       "      <td>铺</td>\n",
       "      <td>1498.0</td>\n",
       "      <td>88.24000</td>\n",
       "      <td>92.82000</td>\n",
       "      <td>65.0000</td>\n",
       "      <td>94.453782</td>\n",
       "      <td>99.299475</td>\n",
       "      <td>85.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>192</th>\n",
       "      <td>长</td>\n",
       "      <td>300962.0</td>\n",
       "      <td>95.91000</td>\n",
       "      <td>96.91000</td>\n",
       "      <td>96.3100</td>\n",
       "      <td>98.000000</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>97.166667</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>193</th>\n",
       "      <td>间</td>\n",
       "      <td>NaN</td>\n",
       "      <td>95.96000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>92.0000</td>\n",
       "      <td>95.959596</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>95.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>194</th>\n",
       "      <td>陆</td>\n",
       "      <td>949.0</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>195</th>\n",
       "      <td>降</td>\n",
       "      <td>712.0</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>90.00000</td>\n",
       "      <td>83.5100</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>97.000000</td>\n",
       "      <td>78.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>196</th>\n",
       "      <td>难</td>\n",
       "      <td>2214.0</td>\n",
       "      <td>99.50000</td>\n",
       "      <td>96.88000</td>\n",
       "      <td>98.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>95.833333</td>\n",
       "      <td>98.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>197</th>\n",
       "      <td>雀</td>\n",
       "      <td>NaN</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>100.00000</td>\n",
       "      <td>99.0000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>100.000000</td>\n",
       "      <td>99.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>198</th>\n",
       "      <td>露</td>\n",
       "      <td>1074.0</td>\n",
       "      <td>95.65000</td>\n",
       "      <td>97.53000</td>\n",
       "      <td>97.8500</td>\n",
       "      <td>60.000000</td>\n",
       "      <td>58.000000</td>\n",
       "      <td>74.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>199</th>\n",
       "      <td>颤</td>\n",
       "      <td>NaN</td>\n",
       "      <td>98.00000</td>\n",
       "      <td>91.00000</td>\n",
       "      <td>96.0000</td>\n",
       "      <td>96.000000</td>\n",
       "      <td>90.000000</td>\n",
       "      <td>92.000000</td>\n",
       "    </tr>\n",
       "    <tr>\n",
       "      <th>200</th>\n",
       "      <td>NaN</td>\n",
       "      <td>NaN</td>\n",
       "      <td>88.67795</td>\n",
       "      <td>89.42865</td>\n",
       "      <td>84.2615</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "      <td>0.000000</td>\n",
       "    </tr>\n",
       "  </tbody>\n",
       "</table>\n",
       "<p>201 rows × 8 columns</p>\n",
       "</div>"
      ],
      "text/plain": [
       "    Character  Train set       news      story  chitchat    news_res  \\\n",
       "0           一        NaN   96.94000   98.00000   97.9800   90.909091   \n",
       "1           不        NaN  100.00000   99.00000   98.0000   97.000000   \n",
       "2           与     2940.0  100.00000  100.00000  100.0000   99.000000   \n",
       "3           丧      335.0   73.00000   80.00000   80.0000   68.000000   \n",
       "4           中     4832.0   99.49000   99.00000   95.2800   99.333333   \n",
       "5           为    29028.0   92.50000   95.00000   93.3200   98.000000   \n",
       "6           乐     2003.0   96.48000   90.54000   88.2400   97.989950   \n",
       "7           乘        NaN  100.00000   95.00000  100.0000  100.000000   \n",
       "8           什      447.0   95.95000   93.10000   48.3900   98.989899   \n",
       "9           仔        NaN   68.69000   54.55000   56.0000   96.969697   \n",
       "10          传     6706.0   99.30000   98.99000   95.6200   97.996661   \n",
       "11          伯        NaN  100.00000  100.00000  100.0000  100.000000   \n",
       "12          作        NaN  100.00000  100.00000   91.0000   99.000000   \n",
       "13          供      931.0   86.87000   79.80000   83.8400   86.868687   \n",
       "14          侯     1137.0   92.94000  100.00000   88.1600   94.000000   \n",
       "15          俩        NaN  100.00000   99.00000  100.0000   75.000000   \n",
       "16          倒     2361.0   78.00000   82.83000   55.0000   74.000000   \n",
       "17          假     1324.0   94.95000   96.00000   94.0000   98.000000   \n",
       "18          兴      366.0   95.51000   89.06000   98.2100   98.989899   \n",
       "19          冠      455.0   53.13000   79.75000   53.8500   79.000000   \n",
       "20          冲        NaN   99.00000   92.00000   87.0000   99.000000   \n",
       "21          凉        NaN   96.00000   98.00000   93.0000   96.000000   \n",
       "22          几        NaN   98.00000   98.00000   97.0000   97.000000   \n",
       "23          凿        NaN  100.00000  100.00000  100.0000  100.000000   \n",
       "24          分     2948.0   99.00000   99.00000   98.9800   99.000000   \n",
       "25          切      546.0   65.91000   72.29000   78.5700   85.000000   \n",
       "26          划      844.0   73.74000   92.00000   82.0000   91.000000   \n",
       "27          别        NaN  100.00000  100.00000   99.0000  100.000000   \n",
       "28          削      531.0   81.00000   78.00000   81.0000   89.000000   \n",
       "29          剥      374.0   91.00000   54.00000   88.0000    8.000000   \n",
       "..        ...        ...        ...        ...       ...         ...   \n",
       "171         薄      395.0   90.72000   75.86000   79.8000   85.858586   \n",
       "172         藏     1483.0   90.41000   98.11000   89.8000   94.529915   \n",
       "173         血     1885.0   90.00000   94.00000   96.0000   79.500000   \n",
       "174         行     3735.0   92.42000   94.00000   96.0000   94.472362   \n",
       "175         观      748.0   96.00000   84.00000   99.0000   96.000000   \n",
       "176         觉     4185.0   97.55000   95.65000   97.6200   98.833333   \n",
       "177         角     1151.0   89.00000  100.00000   90.9100   89.000000   \n",
       "178         解     1104.0   93.00000   91.75000  100.0000   93.000000   \n",
       "179         调     1604.0   52.00000   85.00000   52.0000   80.000000   \n",
       "180         趟        NaN   94.00000   94.00000   97.0000   92.000000   \n",
       "181         蹬        NaN   95.92000   99.00000   97.0000   86.000000   \n",
       "182         转     2386.0   90.91000   74.49000   89.0000   88.888889   \n",
       "183         载      628.0   71.00000   85.71000   66.6700   91.000000   \n",
       "184         还        NaN   97.00000   97.00000   99.0000   98.000000   \n",
       "185         通     1681.0   98.98000   80.43000   98.9900   99.000000   \n",
       "186         都     2955.0   95.00000   98.00000  100.0000   98.000000   \n",
       "187         重     6494.0   97.15000   85.86000   95.0700   97.166667   \n",
       "188         量      852.0   96.97000   78.00000   81.0000   95.959596   \n",
       "189         钉      399.0   71.00000   92.00000   68.0000   82.000000   \n",
       "190         钻        NaN   57.00000   99.00000   58.0000   64.000000   \n",
       "191         铺     1498.0   88.24000   92.82000   65.0000   94.453782   \n",
       "192         长   300962.0   95.91000   96.91000   96.3100   98.000000   \n",
       "193         间        NaN   95.96000  100.00000   92.0000   95.959596   \n",
       "194         陆      949.0  100.00000  100.00000  100.0000  100.000000   \n",
       "195         降      712.0   90.00000   90.00000   83.5100  100.000000   \n",
       "196         难     2214.0   99.50000   96.88000   98.0000  100.000000   \n",
       "197         雀        NaN  100.00000  100.00000   99.0000  100.000000   \n",
       "198         露     1074.0   95.65000   97.53000   97.8500   60.000000   \n",
       "199         颤        NaN   98.00000   91.00000   96.0000   96.000000   \n",
       "200       NaN        NaN   88.67795   89.42865   84.2615    0.000000   \n",
       "\n",
       "      story_res    chat_res  \n",
       "0     85.000000   91.919192  \n",
       "1     94.000000   98.000000  \n",
       "2    100.000000  100.000000  \n",
       "3     84.000000   77.000000  \n",
       "4     99.000000   97.166667  \n",
       "5     96.000000   97.500000  \n",
       "6     88.888889   92.929293  \n",
       "7     95.000000  100.000000  \n",
       "8     96.969697   71.134021  \n",
       "9     96.969697   93.000000  \n",
       "10   100.000000   96.500000  \n",
       "11   100.000000  100.000000  \n",
       "12    99.000000   89.000000  \n",
       "13    61.000000   76.767677  \n",
       "14   100.000000   91.000000  \n",
       "15    80.000000   97.000000  \n",
       "16    88.888889   61.000000  \n",
       "17    99.000000   98.000000  \n",
       "18    97.000000   93.000000  \n",
       "19    67.000000   77.000000  \n",
       "20    89.000000   87.000000  \n",
       "21    98.000000   93.000000  \n",
       "22    95.000000   98.000000  \n",
       "23   100.000000  100.000000  \n",
       "24   100.000000   99.000000  \n",
       "25    82.000000   77.000000  \n",
       "26    98.000000   93.000000  \n",
       "27   100.000000   99.000000  \n",
       "28    94.000000   88.000000  \n",
       "29    50.000000   12.000000  \n",
       "..          ...         ...  \n",
       "171   90.000000   64.646465  \n",
       "172   99.312715   91.000000  \n",
       "173   81.000000   78.000000  \n",
       "174   94.000000   98.000000  \n",
       "175   97.000000  100.000000  \n",
       "176   94.949495   98.138573  \n",
       "177  100.000000   94.949495  \n",
       "178   88.888889  100.000000  \n",
       "179   89.000000   84.000000  \n",
       "180   90.000000   97.000000  \n",
       "181   96.000000   97.000000  \n",
       "182   54.081633   84.000000  \n",
       "183   98.989899   62.000000  \n",
       "184   99.000000   97.000000  \n",
       "185   82.000000   99.000000  \n",
       "186  100.000000  100.000000  \n",
       "187   90.909091   97.674419  \n",
       "188   89.000000   81.000000  \n",
       "189   78.000000   82.000000  \n",
       "190   99.000000   57.000000  \n",
       "191   99.299475   85.000000  \n",
       "192   97.000000   97.166667  \n",
       "193  100.000000   95.000000  \n",
       "194  100.000000  100.000000  \n",
       "195   97.000000   78.000000  \n",
       "196   95.833333   98.000000  \n",
       "197  100.000000   99.000000  \n",
       "198   58.000000   74.000000  \n",
       "199   90.000000   92.000000  \n",
       "200    0.000000    0.000000  \n",
       "\n",
       "[201 rows x 8 columns]"
      ]
     },
     "execution_count": 91,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "raw"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 92,
   "metadata": {},
   "outputs": [],
   "source": [
    "raw.to_csv(\"../data/result/res_all.csv\",index=False,encoding='utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 47,
   "metadata": {},
   "outputs": [],
   "source": [
    "with open(\"../data/info.json\",encoding='utf8') as f:\n",
    "    info=json.loads(f.read())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 48,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "79"
      ]
     },
     "execution_count": 48,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "len(info['words_prepared'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 49,
   "metadata": {},
   "outputs": [],
   "source": [
    "wp=set(info['words_prepared'])\n",
    "plist=[]\n",
    "nlist=[]\n",
    "for i in range(len(raw)):\n",
    "    if raw.loc[i,'Character']in wp:\n",
    "        plist.append(i)\n",
    "    else:\n",
    "        nlist.append(i)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 93,
   "metadata": {},
   "outputs": [],
   "source": [
    "res_prepared=raw.loc[plist]\n",
    "res_prepared.to_csv(\"../data/result/res_prepared.csv\",index=False,encoding='utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 94,
   "metadata": {},
   "outputs": [],
   "source": [
    "res_new=raw.loc[nlist]\n",
    "res_new.to_csv(\"../data/result/res_new.csv\",index=False,encoding='utf8')"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 39,
   "metadata": {},
   "outputs": [],
   "source": [
    "with open(\"../data/train.json\",encoding='utf8') as f:\n",
    "    da=json.loads(f.read())"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 41,
   "metadata": {},
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "[[20, '挨ga a_l eh_h']]\n",
      "[[0, '一yi i_h i_l'], [4, '发f a_h a_h']]\n",
      "[[9, '与yv v_l v_l'], [15, '的d el_m el_m'], [21, '强qi aa_l ng_h'], [22, '的d el_m el_m']]\n",
      "[[0, '不bu u_h u_l'], [2, '不bu u_h u_l'], [6, '的d el_m el_m'], [13, '的d el_m el_m'], [14, '不bu u_h u_l']]\n",
      "[[7, '一yi i_l i_h'], [9, '和h el_l el_h'], [12, '一yi i_l i_h'], [14, '的d el_m el_m'], [16, '不bu u_h u_l'], [20, '的d el_m el_m']]\n",
      "[[0, '一yi i_l i_h'], [6, '的d el_m el_m'], [7, '一yi i_l i_h'], [10, '的d el_m el_m'], [11, '一yi i_l i_h'], [14, '的d el_m el_m'], [15, '没m eh_l i_h'], [18, '的d el_m el_m']]\n",
      "[[3, '更g el_h ng_l'], [4, '好h aa_l o_l'], [5, '的d el_m el_m'], [9, '的d el_m el_m'], [11, '作zu o_h o_l'], [15, '的d el_m el_m'], [16, '更g el_h ng_l'], [18, '把b a_l a_l'], [20, '和h el_l el_h']]\n",
      "[[1, '的d el_m el_m'], [2, '发f a_h a_h'], [5, '发f a_h a_h'], [8, '发f a_h a_h'], [18, '发f a_h a_h'], [22, '卡k a_l a_l'], [27, '发f a_h a_h'], [34, '间ji a_h nn_h'], [41, '的d el_m el_m'], [56, '拉l a_h a_h'], [66, '卡k a_l a_l'], [68, '间ji a_h nn_h'], [72, '卡k a_l a_l']]\n",
      "[[3, '的d el_m el_m'], [5, '卡k a_l a_l'], [8, '卡k a_l a_l'], [9, '的d el_m el_m'], [10, '好h aa_l o_l'], [15, '卡k a_l a_l'], [21, '的d el_m el_m'], [23, '都d o_h u_h'], [26, '脚ji aa_l o_l'], [29, '发f a_h a_h'], [38, '打d a_l a_l'], [49, '卡k a_l a_l'], [51, '的d el_m el_m'], [61, '好h aa_l o_l'], [62, '的d el_m el_m']]\n",
      "[[2, '还h a_l eh_h'], [5, '的d el_m el_m'], [6, '不bu u_h u_l'], [8, '不bu u_h u_l'], [10, '的d el_m el_m'], [11, '都d o_h u_h'], [16, '间ji a_h nn_h'], [20, '看k a_h nn_l'], [27, '不bu u_h u_l'], [32, '都d o_h u_h'], [33, '还h a_l eh_h'], [37, '一yi i_h i_h'], [41, '的d el_m el_m'], [46, '一yi i_h i_l'], [50, '的d el_m el_m'], [52, '一yi i_h i_l'], [56, '的d el_m el_m']]\n",
      "17\n"
     ]
    }
   ],
   "source": [
    "mlen=0\n",
    "for d in da:\n",
    "    if mlen<len(d['phone']):\n",
    "        print(d['phone'])\n",
    "        mlen=len(d['phone'])\n",
    "print(mlen)"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 78,
   "metadata": {},
   "outputs": [],
   "source": [
    "a={'a':2,'b':1}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 69,
   "metadata": {},
   "outputs": [],
   "source": [
    "a[0]=1"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 71,
   "metadata": {},
   "outputs": [],
   "source": [
    "a={'b': 1}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 105,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<module 'matplotlib.pyplot' from 'D:\\\\app\\\\anaconda3\\\\lib\\\\site-packages\\\\matplotlib\\\\pyplot.py'>"
      ]
     },
     "execution_count": 105,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\app\\anaconda3\\lib\\site-packages\\matplotlib\\font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAXwAAAEKCAYAAAARnO4WAAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xl4VdWh/vHvypxACEMSAsmJAZlHgQRRVEQpKiKKA6CtVfvzUlt7q9feOmtrHVrb29betl5rawdbW4IgiOBQcUCtAydhSpiUMScDJGFIQiDTOev3R2KvlzKEkJ19hvfzPDwGspP9bnfyZmWdddYx1lpERCT8RbkdQEREuoYKX0QkQqjw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anzI9FvglsNTlPCdkjOkOLAbutNbWHv3uY3xI0N6Xk1xLyNwXa63fWnsWkAVMNMYc/drSIXFf2nEdrwA51toxwEr+d4QcVIwxM4FKa23hiQ47xr912j0Jt8IvBb740z0LKHcpy2mx1tZ+/qustfZVINYYk+pyrGMyxsTSWpAvWGtfOsYhIXNfTnYtoXRfPmetPQi8C1x61Lv+eV+MMTFACkE8zXi867DW7rPWNrb99bfAhC6O1l6TgVnGmF3AAuAiY8xfjjrG0XsSboW/DPhq26qQSUCNtbbC7VAdYYzJ+HzuzhgzkdZ7tc/dVP+qLeNzwGZr7c+Oc1hI3Jf2XEsI3Zc0Y0zPtrcTgWnAlqMOWwbc1Pb2tcDbtu3RwmDRnus46vGgWbQ+9hJ0rLX3WWuzrLU5tD4g+7a19itHHeboPXHsNW2dYFpfGP1CINUYUwp8j9YHcbDWPgO8SuuKkG3AYeAWd5KeXDuu5VrgG8aYFuAIMC/YvhnbTAZuBIra5lkB7geyIeTuS3uuJVTuSz/gT8aYaFp/KC201i43xvwAKLDWLqP1h9ufjTHbaB1FznMv7nG15zq+bYyZBbTQeh03u5a2A7rynuiZtiIiESLcpnREROQ4VPgiIhFChS8iEiFU+CIiEUKFLyISIVT4IiIRQoUvIhIhVPgix2GMyWvbkCvBGNOtbT/2o/dxEQkZeuKVyAkYYx4DEoBEoNRa+0OXI4l0mApf5ASMMXGAF2gAzrXW+l2OJNJhmtIRObHeQHdaXwErweUsIqdFI3yREzDGLKN1K9sBQD9r7bdcjiTSYSG1W6ZIVzLGfBVosdb+tW23xg+NMRdZa992O5tIR2iELyISITSHLyISIVT4IiIRQoUvIhIhVPgiIhFChS8iEiFU+CIiEUKFLyISIVT4IiIR4v8DkWBQayunQ7oAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "import matplotlib.pyplot as plt\n",
    "from pylab import mpl\n",
    "\n",
    "plt.plot([1, 2, 3, 4], [2, 1, 5, 6])\n",
    "plt.title('')\n",
    "plt.xlabel('x')\n",
    "plt.ylabel('y')\n",
    "plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 126,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/html": [
       "<script>\n",
       "    require.config({\n",
       "        paths: {\n",
       "            'echarts': '/nbextensions/echarts/echarts.min'\n",
       "        }\n",
       "    });\n",
       "</script>\n",
       "    <div id=\"a096b1b86a374427a8f43ed0baa23740\" style=\"width:800px;height:400px;\"></div>\n",
       "\n",
       "\n",
       "<script>\n",
       "    require(['echarts'], function(echarts) {\n",
       "        \n",
       "var myChart_a096b1b86a374427a8f43ed0baa23740 = echarts.init(document.getElementById('a096b1b86a374427a8f43ed0baa23740'), 'light', {renderer: 'canvas'});\n",
       "\n",
       "var option_a096b1b86a374427a8f43ed0baa23740 = {\n",
       "    \"title\": [\n",
       "        {\n",
       "            \"text\": \"\\u6298\\u7ebf\",\n",
       "            \"left\": \"auto\",\n",
       "            \"top\": \"auto\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 18\n",
       "            },\n",
       "            \"subtextStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"toolbox\": {\n",
       "        \"show\": true,\n",
       "        \"orient\": \"vertical\",\n",
       "        \"left\": \"95%\",\n",
       "        \"top\": \"center\",\n",
       "        \"feature\": {\n",
       "            \"saveAsImage\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"save as image\"\n",
       "            },\n",
       "            \"restore\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"restore\"\n",
       "            },\n",
       "            \"dataView\": {\n",
       "                \"show\": true,\n",
       "                \"title\": \"data view\"\n",
       "            }\n",
       "        }\n",
       "    },\n",
       "    \"series_id\": 419336,\n",
       "    \"tooltip\": {\n",
       "        \"trigger\": \"item\",\n",
       "        \"triggerOn\": \"mousemove|click\",\n",
       "        \"axisPointer\": {\n",
       "            \"type\": \"line\"\n",
       "        },\n",
       "        \"textStyle\": {\n",
       "            \"fontSize\": 14\n",
       "        },\n",
       "        \"backgroundColor\": \"rgba(50,50,50,0.7)\",\n",
       "        \"borderColor\": \"#333\",\n",
       "        \"borderWidth\": 0\n",
       "    },\n",
       "    \"series\": [\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u6a21\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.9347826086956522\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.9782608695652174\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.9347826086956522\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.9239130434782609\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u54af\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.75\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.9270833333333334\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.9375\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.9375\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u5c97\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.94\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.93\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.93\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.92\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u5012\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.898989898989899\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.7474747474747475\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.7575757575757576\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.7474747474747475\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u597d\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.98\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        },\n",
       "        {\n",
       "            \"type\": \"line\",\n",
       "            \"name\": \"\\u6ca1\",\n",
       "            \"symbol\": \"emptyCircle\",\n",
       "            \"symbolSize\": 4,\n",
       "            \"smooth\": false,\n",
       "            \"step\": false,\n",
       "            \"showSymbol\": true,\n",
       "            \"data\": [\n",
       "                [\n",
       "                    \"1\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"3\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"5\",\n",
       "                    0.98\n",
       "                ],\n",
       "                [\n",
       "                    \"7\",\n",
       "                    0.98\n",
       "                ]\n",
       "            ],\n",
       "            \"label\": {\n",
       "                \"normal\": {\n",
       "                    \"show\": false,\n",
       "                    \"position\": \"top\",\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                },\n",
       "                \"emphasis\": {\n",
       "                    \"show\": true,\n",
       "                    \"textStyle\": {\n",
       "                        \"fontSize\": 12\n",
       "                    }\n",
       "                }\n",
       "            },\n",
       "            \"lineStyle\": {\n",
       "                \"normal\": {\n",
       "                    \"width\": 1,\n",
       "                    \"opacity\": 1,\n",
       "                    \"curveness\": 0,\n",
       "                    \"type\": \"solid\"\n",
       "                }\n",
       "            },\n",
       "            \"areaStyle\": {\n",
       "                \"opacity\": 0\n",
       "            },\n",
       "            \"markPoint\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"markLine\": {\n",
       "                \"data\": []\n",
       "            },\n",
       "            \"seriesId\": 419336\n",
       "        }\n",
       "    ],\n",
       "    \"legend\": [\n",
       "        {\n",
       "            \"data\": [\n",
       "                \"\\u6a21\",\n",
       "                \"\\u54af\",\n",
       "                \"\\u5c97\",\n",
       "                \"\\u5012\",\n",
       "                \"\\u597d\",\n",
       "                \"\\u6ca1\"\n",
       "            ],\n",
       "            \"selectedMode\": \"multiple\",\n",
       "            \"show\": true,\n",
       "            \"left\": \"center\",\n",
       "            \"top\": \"top\",\n",
       "            \"orient\": \"horizontal\",\n",
       "            \"textStyle\": {\n",
       "                \"fontSize\": 12\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"animation\": true,\n",
       "    \"xAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"category\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": false\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            },\n",
       "            \"data\": [\n",
       "                \"1\",\n",
       "                \"3\",\n",
       "                \"5\",\n",
       "                \"7\"\n",
       "            ]\n",
       "        }\n",
       "    ],\n",
       "    \"yAxis\": [\n",
       "        {\n",
       "            \"show\": true,\n",
       "            \"nameLocation\": \"middle\",\n",
       "            \"nameGap\": 25,\n",
       "            \"nameTextStyle\": {\n",
       "                \"fontSize\": 14\n",
       "            },\n",
       "            \"axisTick\": {\n",
       "                \"alignWithLabel\": false\n",
       "            },\n",
       "            \"inverse\": false,\n",
       "            \"boundaryGap\": true,\n",
       "            \"type\": \"value\",\n",
       "            \"splitLine\": {\n",
       "                \"show\": true\n",
       "            },\n",
       "            \"axisLine\": {\n",
       "                \"lineStyle\": {\n",
       "                    \"width\": 1\n",
       "                }\n",
       "            },\n",
       "            \"axisLabel\": {\n",
       "                \"interval\": \"auto\",\n",
       "                \"formatter\": \"{value} \",\n",
       "                \"rotate\": 0,\n",
       "                \"margin\": 8,\n",
       "                \"textStyle\": {\n",
       "                    \"fontSize\": 12\n",
       "                }\n",
       "            }\n",
       "        }\n",
       "    ],\n",
       "    \"color\": [\n",
       "        \"#c23531\",\n",
       "        \"#2f4554\",\n",
       "        \"#61a0a8\",\n",
       "        \"#d48265\",\n",
       "        \"#749f83\",\n",
       "        \"#ca8622\",\n",
       "        \"#bda29a\",\n",
       "        \"#6e7074\",\n",
       "        \"#546570\",\n",
       "        \"#c4ccd3\",\n",
       "        \"#f05b72\",\n",
       "        \"#ef5b9c\",\n",
       "        \"#f47920\",\n",
       "        \"#905a3d\",\n",
       "        \"#fab27b\",\n",
       "        \"#2a5caa\",\n",
       "        \"#444693\",\n",
       "        \"#726930\",\n",
       "        \"#b2d235\",\n",
       "        \"#6d8346\",\n",
       "        \"#ac6767\",\n",
       "        \"#1d953f\",\n",
       "        \"#6950a1\",\n",
       "        \"#918597\",\n",
       "        \"#f6f5ec\"\n",
       "    ]\n",
       "};\n",
       "myChart_a096b1b86a374427a8f43ed0baa23740.setOption(option_a096b1b86a374427a8f43ed0baa23740);\n",
       "\n",
       "    });\n",
       "</script>\n"
      ],
      "text/plain": [
       "<pyecharts.charts.line.Line at 0x2209e8afd68>"
      ]
     },
     "execution_count": 126,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "from pyecharts import Line\n",
    "import json\n",
    "\n",
    "\n",
    "path=\"D:\\\\hasu\\\\count\\\\\"\n",
    "attr = ['1','3','5','7']\n",
    "line = Line('折线')\n",
    "with open(path+\"0.json\",encoding='utf8') as f:\n",
    "    dct={k:[] for k in json.loads(f.read())}\n",
    "for i in [0,3,5,7]:\n",
    "    with open(path+str(i)+\".json\",encoding='utf8') as f:\n",
    "        js=json.loads(f.read())\n",
    "        for k in js:\n",
    "            dct[k].append(js[k])   \n",
    "for k in ['模','咯','岗','倒','好','没']:\n",
    "    #if abs(dct[k][3]-dct[k][0])>0.1:\n",
    "    line.add(k,attr,dct[k]) \n",
    "line"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 141,
   "metadata": {},
   "outputs": [],
   "source": [
    "ls=[('模', 55), ('咯', 68), ('岗', 94), ('旋', 142), ('禁', 213), ('翘', 221), ('拧', 284), ('哄', 317), ('叉', 327), ('丧', 335), ('漂', 362), ('担', 363), ('蹬', 370), ('钉', 399), ('凿', 423), ('什', 447), ('冠', 455), ('炸', 522), ('削', 531), ('舍', 545), ('卒', 563), ('嚼', 580), ('杆', 587), ('载', 628), ('校', 648), ('挨', 660), ('扇', 665), ('秤', 670), ('搂', 673), ('度', 695), ('降', 712), ('吐', 741), ('观', 748), ('划', 844), ('量', 852), ('溜', 862), ('称', 900), ('行', 900), ('空', 900), ('乐', 900), ('难', 900), ('片', 900), ('系', 900), ('血', 900), ('呱', 903), ('横', 907), ('散', 925), ('殷', 941), ('咽', 946), ('蒙', 1013), ('斗', 1037), ('圈', 1050), ('咔', 1051), ('露', 1074), ('宁', 1087), ('奔', 1162), ('查', 1272), ('栅', 1274), ('扒', 1300), ('假', 1324), ('挑', 1336), ('劈', 1391), ('剥', 1495), ('调', 1604), ('弹', 1631), ('勒', 1645), ('泊', 1799), ('相', 1800), ('曝', 1830), ('教', 2028), ('盛', 2207), ('咧', 2309), ('雀', 2350), ('晃', 2421), ('撒', 2424), ('缝', 2436), ('将', 2448), ('藏', 2462), ('铺', 2477), ('数', 2480), ('卷', 2565), ('爪', 2610), ('柏', 2677), ('待', 2857), ('分', 2948), ('应', 3123), ('侯', 3233), ('颤', 3425), ('笼', 3827), ('抹', 3833), ('只', 3881), ('得', 4180), ('觉', 4185), ('肖', 4440), ('攒', 4740), ('中', 4832), ('淋', 4870), ('帖', 4878), ('撩', 5008), ('坊', 5264), ('嘎', 5560), ('伯', 6415), ('重', 6494), ('当', 6681), ('传', 6706), ('背', 6862), ('乘', 7073), ('荷', 7310), ('长', 7460), ('薄', 7532), ('菲', 7670), ('粘', 8319), ('脏', 8319), ('晕', 8394), ('扎', 8395), ('燕', 8400), ('著', 8606), ('拓', 9418), ('趟', 9589), ('咖', 9610), ('糊', 9866), ('壳', 10064), ('肚', 11326), ('凉', 11791), ('差', 11826), ('曾', 11994), ('朝', 13410), ('钻', 13442), ('地', 13817), ('塞', 14416), ('吓', 14996), ('仔', 15112), ('炮', 15306), ('为', 15433), ('磨', 15711), ('夹', 16107), ('喷', 16543), ('腾', 18200), ('泡', 19141), ('涨', 19774), ('曲', 22513), ('占', 23408), ('暴', 28490), ('折', 29668), ('宿', 29915), ('脚', 30544), ('熟', 34448), ('累', 34664), ('陆', 34758), ('混', 35188), ('冲', 36130), ('落', 38640), ('恶', 40629), ('奇', 40693), ('倒', 40953), ('喝', 44673), ('兴', 47913), ('切', 48620), ('答', 50218), ('择', 50790), ('角', 51828), ('俩', 52465), ('省', 57022), ('咋', 69033), ('约', 73604), ('率', 77572), ('核', 84316), ('供', 99537), ('拉', 108604), ('强', 121299), ('转', 139427), ('处', 142045), ('卡', 174361), ('更', 186532), ('干', 190924), ('解', 192178), ('格', 207091), ('与', 209531), ('结', 215496), ('种', 216287), ('少', 281651), ('通', 288696), ('几', 304940), ('着', 305582), ('别', 328632), ('间', 372788), ('号', 377125), ('把', 398180), ('作', 435147), ('和', 705012), ('打', 768680), ('发', 882183), ('都', 1180878), ('看', 1221878), ('还', 1289386), ('好', 1352418), ('没', 1584855), ('一', 2984493), ('不', 4117251), ('的', 6939223)]\n",
    "ssm,sma,mid,lar=[],[],[],[]\n",
    "for i in range(50):\n",
    "    ssm.append(ls[i][0])\n",
    "for i in range(50,100):\n",
    "    sma.append(ls[i][0])\n",
    "for i in range(100,150):\n",
    "    mid.append(ls[i][0])\n",
    "for i in range(150,200):\n",
    "    lar.append(ls[i][0])\n",
    "ss=[0]*4   \n",
    "s=[0]*4\n",
    "m=[0]*4\n",
    "l=[0]*4\n",
    "for k in dct:\n",
    "    if k in ssm:\n",
    "        for i in range(4):\n",
    "            ss[i]+=dct[k][i]\n",
    "    if k in sma:\n",
    "        for i in range(4):\n",
    "            s[i]+=dct[k][i]\n",
    "    elif k in mid:\n",
    "        for i in range(4):\n",
    "            m[i]+=dct[k][i]\n",
    "    elif k in lar:\n",
    "        for i in range(4):\n",
    "            l[i]+=dct[k][i]\n",
    "for i in range(4):\n",
    "    ss[i]/=50\n",
    "    s[i]/=50\n",
    "    m[i]/=50\n",
    "    l[i]/=50\n",
    "import matplotlib.pyplot as plt\n",
    " \n",
    "plt.figure(1)\n",
    "l1=plt.plot([1, 3, 5, 7], ss)\n",
    "l2=plt.plot([1, 3, 5, 7], s)\n",
    "l3=plt.plot([1, 3, 5, 7], m)\n",
    "l4=plt.plot([1, 3, 5, 7], l)\n",
    "\n",
    "plt.legend((l1[0], l2[0], l3[0], l4[0]), ('1', '2','3','4'))\n",
    "plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 162,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<module 'matplotlib.pyplot' from 'D:\\\\app\\\\anaconda3\\\\lib\\\\site-packages\\\\matplotlib\\\\pyplot.py'>"
      ]
     },
     "execution_count": 162,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\app\\anaconda3\\lib\\site-packages\\matplotlib\\font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[fontext]))\n"
     ]
    },
    {
     "data": {
      "image/png": "iVBORw0KGgoAAAANSUhEUgAAAYsAAAEKCAYAAADjDHn2AAAABHNCSVQICAgIfAhkiAAAAAlwSFlzAAALEgAACxIB0t1+/AAAADl0RVh0U29mdHdhcmUAbWF0cGxvdGxpYiB2ZXJzaW9uIDIuMi4yLCBodHRwOi8vbWF0cGxvdGxpYi5vcmcvhp/UCwAAIABJREFUeJzt3Xl8VOXd///XJ3vIBoRFdhBBQCKIAaVURSnWal2o2tu1tZt+rd63dWmt1rbWb63tXdtfvX9619al2t7uWhVb64LFWrcbgb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sdUJ+ISJe0YcMGxo0bxze/+U0mTpzIxRdfzLx585gxYwZjxoxhwYIFPPTQQ1x99dUArF+/nunTpzN16lR++MMfNryPu3P11VczYcIEzjjjDLZt29bi573yyitMnz6dKVOmcP7551NZWdmu+xMzLNy9DjjW2nBPPjM7zcxWm9laM/t+C+tHmNlrZrbMzF43s6FR675qZh9GftSLEZEuZ+3atVxzzTUsW7aMVatW8eijj/Lmm29y55138rOf/azJttdccw1XXnkl7733XpMZZp999llWr17N8uXLue+++3j77bf3+5zt27fz05/+lHnz5rF48WKKi4v59a9/3a77Eu9hqH8Bz5vZU8Ce+ifd/c8HekGkR3IPMBsoAd4zs7nuviJqszuBP7r7w2Z2CsHluZeaWV/gx0AxwYjxRZHX7jyIfRMRgb99Hz5d3r7veVgRfKHlcw3RRo0aRVFREQBHHXUUs2bNwswoKipiw4YNTbZ96623eOaZZwC49NJLufHGGwF44403uPDCC0lNTWXw4MGccsr+1xa9++67rFixghkzZgBQU1PD9OnTD2UP9xNvWPQFymh6BZQDBwwLYBqw1t3XAZjZ48DZQHRYTACujTyeDzwXefx54FV33xF57avAacBjcdYrIpJ0zacgj56ePBQK7bf9gQ7gxDqw4+7Mnj2bxx5LXBMZ7wjur7XhvYcAn0QtlwDHNdtmKXAuwV335gB5kTvytfTaIW2oQUR6ujh6AJ3BjBkzePzxx7nkkkt45JFHGp4/8cQT+d3vfsdXvvIVtm3bxvz587nooouavPb444/nqquuYu3atRxxxBHs3buXkpISxo4d2271xXXprJn9wcwebP4T62UtPNd8itsbgJPM7F/AScAmgoF/8bwWM7vczBaa2cLS0tI49kREpHO66667uOeee5g6dSrl5eUNz8+ZM4cxY8ZQVFTElVdeyUknnbTfa/v3789DDz3EhRdeyNFHH83xxx/PqlWr2rW+eKcoPzdqMYugF7DZ3f+jlddMB251989Hlm8CcPc7DrB9LrDK3Yea2YXATHe/IrLud8Dr7n7APpamKBeRepqivGUJn6Lc3Z9p9uaPAfNivOw9YIyZjSLoMVwANOk7mVk/Y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5rC9u1NneOtbKuOupxHZDm7iGCWV2fAc4BuvI8TNINKCxEYnsNOM/MBgCYWV8zG0Hw93NeZJuLgDfdvRzYaWYnRJ6/FPhH5N4iJWZ2TuQ9MiMTwLUocl+SgshEkN8BJidix0Ti1eNnnRWJxd1XmNktBHeJSwFqgasIbppzlJktAsoJzmsAfBW4NxIG0TOaXgr8zsxui7zH+a18bB7wvJllEfRKrm3n3RI5KJp1VqSNzKzS3XOTXYdIR9BhKBERiUk9CxERiUk9CxERiUlhISIiMSksREQkJoWFiIjEpLAQEZGYFBYiIhLT/wO9WBWOWqrvsQAAAABJRU5ErkJggg==\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": [
    "ls=[('模', 55), ('咯', 68), ('岗', 94), ('旋', 142), ('禁', 213), ('翘', 221), ('拧', 284), ('哄', 317), ('叉', 327), ('丧', 335), ('漂', 362), ('担', 363), ('蹬', 370), ('钉', 399), ('凿', 423), ('什', 447), ('冠', 455), ('炸', 522), ('削', 531), ('舍', 545), ('卒', 563), ('嚼', 580), ('杆', 587), ('载', 628), ('校', 648), ('挨', 660), ('扇', 665), ('秤', 670), ('搂', 673), ('度', 695), ('降', 712), ('吐', 741), ('观', 748), ('划', 844), ('量', 852), ('溜', 862), ('称', 900), ('行', 900), ('空', 900), ('乐', 900), ('难', 900), ('片', 900), ('系', 900), ('血', 900), ('呱', 903), ('横', 907), ('散', 925), ('殷', 941), ('咽', 946), ('蒙', 1013), ('斗', 1037), ('圈', 1050), ('咔', 1051), ('露', 1074), ('宁', 1087), ('奔', 1162), ('查', 1272), ('栅', 1274), ('扒', 1300), ('假', 1324), ('挑', 1336), ('劈', 1391), ('剥', 1495), ('调', 1604), ('弹', 1631), ('勒', 1645), ('泊', 1799), ('相', 1800), ('曝', 1830), ('教', 2028), ('盛', 2207), ('咧', 2309), ('雀', 2350), ('晃', 2421), ('撒', 2424), ('缝', 2436), ('将', 2448), ('藏', 2462), ('铺', 2477), ('数', 2480), ('卷', 2565), ('爪', 2610), ('柏', 2677), ('待', 2857), ('分', 2948), ('应', 3123), ('侯', 3233), ('颤', 3425), ('笼', 3827), ('抹', 3833), ('只', 3881), ('得', 4180), ('觉', 4185), ('肖', 4440), ('攒', 4740), ('中', 4832), ('淋', 4870), ('帖', 4878), ('撩', 5008), ('坊', 5264), ('嘎', 5560), ('伯', 6415), ('重', 6494), ('当', 6681), ('传', 6706), ('背', 6862), ('乘', 7073), ('荷', 7310), ('长', 7460), ('薄', 7532), ('菲', 7670), ('粘', 8319), ('脏', 8319), ('晕', 8394), ('扎', 8395), ('燕', 8400), ('著', 8606), ('拓', 9418), ('趟', 9589), ('咖', 9610), ('糊', 9866), ('壳', 10064), ('肚', 11326), ('凉', 11791), ('差', 11826), ('曾', 11994), ('朝', 13410), ('钻', 13442), ('地', 13817), ('塞', 14416), ('吓', 14996), ('仔', 15112), ('炮', 15306), ('为', 15433), ('磨', 15711), ('夹', 16107), ('喷', 16543), ('腾', 18200), ('泡', 19141), ('涨', 19774), ('曲', 22513), ('占', 23408), ('暴', 28490), ('折', 29668), ('宿', 29915), ('脚', 30544), ('熟', 34448), ('累', 34664), ('陆', 34758), ('混', 35188), ('冲', 36130), ('落', 38640), ('恶', 40629), ('奇', 40693), ('倒', 40953), ('喝', 44673), ('兴', 47913), ('切', 48620), ('答', 50218), ('择', 50790), ('角', 51828), ('俩', 52465), ('省', 57022), ('咋', 69033), ('约', 73604), ('率', 77572), ('核', 84316), ('供', 99537), ('拉', 108604), ('强', 121299), ('转', 139427), ('处', 142045), ('卡', 174361), ('更', 186532), ('干', 190924), ('解', 192178), ('格', 207091), ('与', 209531), ('结', 215496), ('种', 216287), ('少', 281651), ('通', 288696), ('几', 304940), ('着', 305582), ('别', 328632), ('间', 372788), ('号', 377125), ('把', 398180), ('作', 435147), ('和', 705012), ('打', 768680), ('发', 882183), ('都', 1180878), ('看', 1221878), ('还', 1289386), ('好', 1352418), ('没', 1584855), ('一', 2984493), ('不', 4117251), ('的', 6939223)]\n",
    "ssm,sma,mid,lar=[],[],[],[]\n",
    "for i in range(66):\n",
    "    sma.append(ls[i][0])\n",
    "for i in range(66,132):\n",
    "    mid.append(ls[i][0])\n",
    "for i in range(132,200):\n",
    "    lar.append(ls[i][0])\n",
    "ss=[0]*4   \n",
    "s=[0]*4\n",
    "m=[0]*4\n",
    "l=[0]*4\n",
    "for k in dct:\n",
    "    if k in ssm:\n",
    "        for i in range(4):\n",
    "            ss[i]+=dct[k][i]\n",
    "    if k in sma:\n",
    "        for i in range(4):\n",
    "            s[i]+=dct[k][i]\n",
    "    elif k in mid:\n",
    "        for i in range(4):\n",
    "            m[i]+=dct[k][i]\n",
    "    elif k in lar:\n",
    "        for i in range(4):\n",
    "            l[i]+=dct[k][i]\n",
    "for i in range(4):\n",
    "    ss[i]/=50\n",
    "    s[i]/=66\n",
    "    m[i]/=66\n",
    "    l[i]/=67\n",
    "import matplotlib.pyplot as plt\n",
    " \n",
    "plt.figure(1)\n",
    "l2=plt.plot([1, 3, 5, 7], s)\n",
    "l3=plt.plot([1, 3, 5, 7], m)\n",
    "l4=plt.plot([1, 3, 5, 7], l)\n",
    "\n",
    "plt.xlabel('epochs')\n",
    "plt.ylabel('accuracy')\n",
    "plt.legend((l2[0], l3[0], l4[0]), ( 'small','middle','large'))\n",
    "plt"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 144,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "<module 'matplotlib.pyplot' from 'D:\\\\app\\\\anaconda3\\\\lib\\\\site-packages\\\\matplotlib\\\\pyplot.py'>"
      ]
     },
     "execution_count": 144,
     "metadata": {},
     "output_type": "execute_result"
    },
    {
     "name": "stderr",
     "output_type": "stream",
     "text": [
      "D:\\app\\anaconda3\\lib\\site-packages\\matplotlib\\font_manager.py:1328: UserWarning: findfont: Font family ['sans-serif'] not found. Falling back to DejaVu Sans\n",
      "  (prop.get_family(), self.defaultFamily[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UVwLnD7TDWu0J+lzKwe+BFwmbv3lLqeqXL3hLsfCbQAa81szg29mdnpwC5331TqWorkne5+NHAacEl6aHQuqgCOBr7t7kcBbwBXlLak6UkPUZ0B/OtM7UOhPwulx79/BPzA3X9c6nqKIX3Z/SBwaolLmYp3Amekx8LvAE4ys++XtqSpc/cd6Z+7gJ8Aa0tb0ZS1AW2Bq8d/I9UJzGWnAU+4++sztQOF/iyTfvPzJmCLu3+z1PVMh5ktMrN4eroWeA/wfGmrmjx3/7y7t7j7SlKX3r9w9wtKXNaUmNm89A0CpIdCTgHm5B1v7r4T2GZmf5ie9W5gzt3wkOM8ZnBoB8rom7PM7HZgPbDQzNqAL7n7TaWtakreCXwE+E16LBzgC+5+TwlrmqqlwPfSdyNEgDvdfU7f7lgGlgA/SZ1bUAH80N3vLW1J0/JJ4AfpYZFXgD8rcT1TZmZ1wMnAX8zofsrllk0REZmYhndEREJEoS8iEiIKfRGREFHoi4iEiEJfRCREFPoiIiGi0BcRCRGFvohIiPx/3Vyi9tnrGrsAAAAASUVORK5CYII=\n",
      "text/plain": [
       "<Figure size 432x288 with 1 Axes>"
      ]
     },
     "metadata": {},
     "output_type": "display_data"
    }
   ],
   "source": []
  },
  {
   "cell_type": "code",
   "execution_count": 155,
   "metadata": {},
   "outputs": [],
   "source": [
    "ma={k:max(dct[k]) for k in dct}"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 161,
   "metadata": {},
   "outputs": [
    {
     "data": {
      "text/plain": [
       "0.8989329923467922"
      ]
     },
     "execution_count": 161,
     "metadata": {},
     "output_type": "execute_result"
    }
   ],
   "source": [
    "sum([ma[k] for k in info['words_ime']])/len(info['words_ime'])"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 169,
   "metadata": {
    "scrolled": true
   },
   "outputs": [
    {
     "name": "stdout",
     "output_type": "stream",
     "text": [
      "file://C:/Users/t-hasu/AppData/Local/Temp/tmpi9c9dxv4.html\n"
     ]
    }
   ],
   "source": [
    "import pygal                                                       # First import pygal\n",
    "bar_chart = pygal.Bar()                                            # Then create a bar graph object\n",
    "bar_chart.add('Fibonacci', [0, 1, 1, 2, 3, 5, 8, 13, 21, 34, 55])  # Add some values\n",
    "bar_chart.render_in_browser()"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": 171,
   "metadata": {},
   "outputs": [],
   "source": [
    "import numpy as np\n",
    "a=np.zeros((3,3))"
   ]
  },
  {
   "cell_type": "code",
   "execution_count": null,
   "metadata": {},
   "outputs": [],
   "source": []
  }
 ],
 "metadata": {
  "kernelspec": {
   "display_name": "Python 3",
   "language": "python",
   "name": "python3"
  },
  "language_info": {
   "codemirror_mode": {
    "name": "ipython",
    "version": 3
   },
   "file_extension": ".py",
   "mimetype": "text/x-python",
   "name": "python",
   "nbconvert_exporter": "python",
   "pygments_lexer": "ipython3",
   "version": "3.6.5"
  }
 },
 "nbformat": 4,
 "nbformat_minor": 1
}
